package com.zy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class Role {

//  @TableId(type = IdType.AUTO)
  private Integer id;

  private String roleCode;
  private String roleName;
  private Integer createdBy;
//  @JsonFormat(pattern = "yyyy")
//  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  private java.util.Date creationDate;
  private Integer modifyBy;
//  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
  private java.util.Date modifyDate;

}
